Skip to content

ci(release): PyPI trusted publishing (OIDC) - #145

Merged
vsdudakov merged 1 commit into
mainfrom
chore/pypi-trusted-publishing
Nov 3, 2026
Merged

vsdudakov merged 1 commit into
mainfrom
chore/pypi-trusted-publishing

Conversation

@vsdudakov

Copy link
Copy Markdown
Owner

Switches the PyPI publish job to trusted publishing: the job requests an OIDC id-token and no longer uses the PYPI_TOKEN secret.

Before merging / before the next v* tag, add the trusted publisher on PyPI: project settings → Publishing → GitHub → owner vsdudakov, repository fastadmin, workflow release.yml, environment empty. After the first successful OIDC publish the PYPI_TOKEN repository secret and the PyPI token can be deleted.

Drop the long-lived PYPI_TOKEN secret from the publish step and request an
id-token instead, so PyPI authenticates the GitHub Actions run itself.
Requires the matching trusted publisher on PyPI (owner vsdudakov, this repo,
workflow release.yml) before the next tag.
@codecov-commenter

codecov-commenter commented Oct 30, 2026 •

Copy link
Copy Markdown

⚠️ Please install the 'codecov app svg image' to ensure uploads and comments are reliably processed by Codecov.

Codecov Report

✅ All modified and coverable lines are covered by tests.
✅ Project coverage is 96.76%. Comparing base (59babcb) to head (0366832).
❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #145   +/-   ##
=======================================
  Coverage   96.76%   96.76%           
=======================================
  Files          72       72           
  Lines        4331     4331           
  Branches      358      358           
=======================================
  Hits         4191     4191           
  Misses         39       39           
  Partials      101      101           
Flag Coverage Δ
backend 100.00% <ø> (ø)
frontend 88.89% <ø> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Harness.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@vsdudakov
vsdudakov merged commit 9202a5e into main Nov 3, 2026
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants